package com.fortune.rainshinecommon.model;

import com.fortune.rainshinecommon.model.system.Authorities;

import java.io.Serializable;
import java.util.List;
import java.util.Map;


/**
 * @author zhangxin
 * @ClassName: AppLoginDto
 * @Description: 登录返回类
 * @date 2019年3月14日
 */
public class LoginDtoModel implements Serializable {

    private static final long serialVersionUID = 397897921574391371L;

    //用户主键
    private Integer userId;
    //用户账号
    private String userAccount;
    //用户角色
    private Integer roleId;
    //用户token
    private String userToken;
    //门店id
    private List<Map<String, Object>> shops;

    private List<Authorities> authorities;
    /**
     * 用户昵称
     */
    private String nickName;
    /**
     * 头像地址
     */
    private String picUrl;
    /**
     * 电话
     */
    private String phone;
    /**
     * 性别
     */
    private String sex;
    /**
     * 用户状态，0正常，1冻结
     */
    private Integer userStatus;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Integer userStatus) {
        this.userStatus = userStatus;
    }

    public List<Authorities> getAuthorities() {
        return authorities;
    }

    public void setAuthorities(List<Authorities> authorities) {
        this.authorities = authorities;
    }

    public List<Map<String, Object>> getShops() {
        return shops;
    }

    public void setShops(List<Map<String, Object>> shops) {
        this.shops = shops;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserToken() {
        return userToken;
    }

    public void setUserToken(String userToken) {
        this.userToken = userToken;
    }

}
